package cn.wolfcode.service;

import cn.wolfcode.domain.Emp;
import cn.wolfcode.domain.PageBean;
import cn.wolfcode.domain.Result;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;


public interface EmpService {
    PageBean query(Integer page, Integer pageSize, String name, Integer gender, Date begin, Date end);

    void batchDelete(List<Long> ids);

    void save(Emp emp);

    Emp getById(Long id);

    void update(Emp emp);

    Result login(Emp emp);
}
